import React, { memo } from "react";

import { Headertitlewrap } from "./style";
export default memo(function Headertitle(props) {
  const { iconu, title, width } = props;
  return (
    <Headertitlewrap width={width}>
      <div className="top">
        <span className={"iconfont " + iconu}></span>
        <span>{title}</span>
      </div>
      <div className="bottom"></div>
    </Headertitlewrap>
  );
});
